package com.itheima.mp.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Address)表实体类
 *
 * @author makejava
 * @since 2024-11-28 11:11:45
 */
@Data
@TableName("address")
public class Address {

    @TableId(type = IdType.AUTO)
    private Long id;
    //用户ID
    private Long userId;
    //省
    private String province;
    //市
    private String city;
    //县/区
    private String town;
    //手机
    private String mobile;
    //详细地址
    private String street;
    //联系人
    private String contact;
    //是否是默认 1默认 0否
    private Object isDefault;
    //备注
    private String notes;
    //逻辑删除
    @TableLogic
    private Boolean deleted;
}

